package service

import (
	"fmt"
	"gitee.com/zhouli1369/go2struct/internal/dto"
)

type PostgreStrategy struct {
	// 参数
	Param dto.CmdParam
}

func (s *PostgreStrategy) GetName() string {
	return s.Param.Driver
}

// QueryDataInfo  查询postgre的数据库、表、列信息
func (s *PostgreStrategy) QueryDataInfo() (dbInfo dto.DbInfo, err error) {
	fmt.Println("[PostgreStrategy]")
	return
}
